package A_java语言的新特性.b.Functional接口;

/**
 * Created by Administrator on 2017/3/10.
 */
public class Main {

    public static void main(String[] args) {
        String m = "M";
        String n = "N";
        ResultInter<String, Integer> resultInter = (a, b) -> a.compareTo(b);
        Integer result = resultInter.getResult(m, n);
        System.out.println(result);
    }

}
